package model;


public class Goal {

	final private int SCORER = 0;
	final private int ASSIST1 = 1;
	final private int ASSIST2 = 2;
	
	private Player[] players = new Player[3];
	
	public Goal(Player scorer, Player assist1, Player assist2){
		
		players[SCORER] = scorer;
		players[ASSIST1] = assist1;
		players[ASSIST2] = assist2;
	}
	
	public Player getScorer(){
		return players[SCORER];
	}
	
	public Player getAssist1(){
		return players[ASSIST1];
	}
	
	public Player getAssist2(){
		return players[ASSIST2];
	}
}
